// samsting : this file is auto create.

#include "Ram/2015-05-01/ListGroupsResponse.h"

namespace aliyun { namespace Ram {

ListGroupsResponse::ListGroupsResponse() {
}

const string& ListGroupsResponse::Group::GetGroupName(void) const {
  return GroupName_;
}

const string& ListGroupsResponse::Group::GetComments(void) const {
  return Comments_;
}

const string& ListGroupsResponse::Group::GetCreateDate(void) const {
  return CreateDate_;
}

const string& ListGroupsResponse::Group::GetUpdateDate(void) const {
  return UpdateDate_;
}

const std::vector<ListGroupsResponse::Group>& ListGroupsResponse::GetGroups(void) const {
  return Groups_;
}

bool ListGroupsResponse::GetIsTruncated(void) const {
  return IsTruncated_;
}

const string& ListGroupsResponse::GetMarker(void) const {
  return Marker_;
}

const char* ListGroupsResponse::BaseKey(void) {
  return "ListGroupsResponse";
}

void ListGroupsResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int Groups__length = 0;
  UnmarshallerInt(Groups__length, response_map, "ListGroupsResponse.Groups.Length");
  if(Groups__length >= 0) {
    Groups_.resize(Groups__length);
    for(int i1 = 0; i1 < Groups__length; i1++) {
      UnmarshallerString(Groups_[i1].GroupName_, response_map, "ListGroupsResponse.Groups["+string_ValueOfInt(i1)+"].GroupName");
      UnmarshallerString(Groups_[i1].Comments_, response_map, "ListGroupsResponse.Groups["+string_ValueOfInt(i1)+"].Comments");
      UnmarshallerString(Groups_[i1].CreateDate_, response_map, "ListGroupsResponse.Groups["+string_ValueOfInt(i1)+"].CreateDate");
      UnmarshallerString(Groups_[i1].UpdateDate_, response_map, "ListGroupsResponse.Groups["+string_ValueOfInt(i1)+"].UpdateDate");
    } // for(int i1 = 0; i1 < Groups__length; i1++) {
  } // if(Groups__length >= 0) {

  UnmarshallerBool(IsTruncated_, response_map, "ListGroupsResponse.IsTruncated");
  UnmarshallerString(Marker_, response_map, "ListGroupsResponse.Marker");
}


} } // namespace aliyun { namespace Ram {

// end of file 
